<!DOCTYPE html>
<html><head>

    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
    
    <link rel="alternate" type="application/rss+xml" href="/dlna/index.xml" title="h-book" />
    <link rel="canonical" href="/dlna/">

    <title>
        
        DLNA | h-book
        
    </title>

    
    <link href="/css/fontawesome.min.css" rel="stylesheet">

    
    <link rel="stylesheet" href="/css/ace.min.css">

    

    

</head>
<body><nav class="navbar navbar-expand-lg navbar-dark bg-primary shadow sticky-top" id="navbarMain">
    <div class="container">
        <div>
            <a class="navbar-brand" href="/">
                
                h-book
            </a>
        </div>
    </div>
</nav>
<div class="container-fluid">
            <div class="row">

                <div class="docs-sidenav order-0 col-12 col-md-3 col-lg-2 col-xl-2 position-sticky border-right"><nav class="navbar navbar-expand-md navbar-light pl-0">
    <button class="navbar-toggler navbar-toggler-right collapsed" type="button" data-toggle="collapse" data-target="#sidenav-left-collapse" aria-controls="sidenav-left-collapse" aria-expanded="false" aria-label="Toggle navigation">
      <span class="navbar-toggler-icon"></span>
    </button>

     <div class="collapse navbar-collapse align-items-start flex-column" id="sidenav-left-collapse">
            <form class="form-inline my-2 my-lg-0 searchbox">
                <input class="form-control mr-sm-2 w-100" data-search-input id="search-by" type="text" placeholder="Search">
            </form>

        

         <ul class="navbar-nav flex-column pt-3">
    <li data-nav-id="/hugo/" class="nav-item my-1 haschildren
        ">
        
        
          <a class="nav-link p-0" href="/hugo/"><h6>Hugo</h6></a>
        
        <ul class="list-unstyled ml-2">
        <li data-nav-id="/hugo/init/" class="nav-item my-1">
                
                
                  <a href="/hugo/init/" class="nav-link p-0">
                    init
                  </a>
                
        </li>
        <li data-nav-id="/hugo/add-page/" class="nav-item my-1">
                
                
                  <a href="/hugo/add-page/" class="nav-link p-0">
                    add-page
                  </a>
                
        </li>
        <li data-nav-id="/hugo/edit-skill/" class="nav-item my-1">
                
                
                  <a href="/hugo/edit-skill/" class="nav-link p-0">
                    edit-skill
                  </a>
                
        </li>
        <li data-nav-id="/hugo/publish/" class="nav-item my-1">
                
                
                  <a href="/hugo/publish/" class="nav-link p-0">
                    publish
                  </a>
                
        </li>
        </ul>
    </li>
    <li data-nav-id="/android/" class="nav-item my-1 haschildren
        ">
        
        
          <a class="nav-link p-0" href="/android/"><h6>Android</h6></a>
        
        <ul class="list-unstyled ml-2">
        <li data-nav-id="/android/install/" class="nav-item my-1">
                
                
                  <a href="/android/install/" class="nav-link p-0">
                    install
                  </a>
                
        </li>
        <li data-nav-id="/android/create-project/" class="nav-item my-1">
                
                
                  <a href="/android/create-project/" class="nav-link p-0">
                    create project
                  </a>
                
        </li>
        <li data-nav-id="/android/import-material/" class="nav-item my-1">
                
                
                  <a href="/android/import-material/" class="nav-link p-0">
                    import material
                  </a>
                
        </li>
        <li data-nav-id="/android/start-page/" class="nav-item my-1">
                
                
                  <a href="/android/start-page/" class="nav-link p-0">
                    startpage
                  </a>
                
        </li>
        <li data-nav-id="/android/i18n/" class="nav-item my-1">
                
                
                  <a href="/android/i18n/" class="nav-link p-0">
                    i18n
                  </a>
                
        </li>
        <li data-nav-id="/android/nav-flat-page/" class="nav-item my-1">
                
                
                  <a href="/android/nav-flat-page/" class="nav-link p-0">
                    nav flat page
                  </a>
                
        </li>
        <li data-nav-id="/android/activity/" class="nav-item my-1">
                
                
                  <a href="/android/activity/" class="nav-link p-0">
                    Activity
                  </a>
                
        </li>
        <li data-nav-id="/android/db/" class="nav-item my-1">
                
                
                  <a href="/android/db/" class="nav-link p-0">
                    DB
                  </a>
                
        </li>
        <li data-nav-id="/android/dialog/" class="nav-item my-1">
                
                
                  <a href="/android/dialog/" class="nav-link p-0">
                    Dialog
                  </a>
                
        </li>
        <li data-nav-id="/android/fragment/" class="nav-item my-1">
                
                
                  <a href="/android/fragment/" class="nav-link p-0">
                    Fragment
                  </a>
                
        </li>
        <li data-nav-id="/android/jetpack/" class="nav-item my-1">
                
                
                  <a href="/android/jetpack/" class="nav-link p-0">
                    Jetpack
                  </a>
                
        </li>
        <li data-nav-id="/android/material/" class="nav-item my-1">
                
                
                  <a href="/android/material/" class="nav-link p-0">
                    Material
                  </a>
                
        </li>
        <li data-nav-id="/android/storage/" class="nav-item my-1">
                
                
                  <a href="/android/storage/" class="nav-link p-0">
                    Storage
                  </a>
                
        </li>
        <li data-nav-id="/android/%E5%9B%BE%E6%A0%87/" class="nav-item my-1">
                
                
                  <a href="/android/%E5%9B%BE%E6%A0%87/" class="nav-link p-0">
                    图标
                  </a>
                
        </li>
        <li data-nav-id="/android/store/" class="nav-item my-1">
                
                
                  <a href="/android/store/" class="nav-link p-0">
                    Store
                  </a>
                
        </li>
        </ul>
    </li>
    <li data-nav-id="/blender/" class="nav-item my-1
        ">
        
        
          <a class="nav-link p-0" href="/blender/"><h6>Blender</h6></a>
        
    </li>
    <li data-nav-id="/bootstrap/" class="nav-item my-1
        ">
        
        
          <a class="nav-link p-0" href="/bootstrap/"><h6>BootStrap</h6></a>
        
    </li>
    <li data-nav-id="/centos7/" class="nav-item my-1
        ">
        
        
          <a class="nav-link p-0" href="/centos7/"><h6>Centos7</h6></a>
        
    </li>
    <li data-nav-id="/dlna/" class="nav-item my-1 active
        ">
        
        
          <a class="nav-link p-0" href="/dlna/"><h6>DLNA</h6></a>
        
    </li>
    <li data-nav-id="/docker/" class="nav-item my-1
        ">
        
        
          <a class="nav-link p-0" href="/docker/"><h6>Docker</h6></a>
        
    </li>
    <li data-nav-id="/dubbo/" class="nav-item my-1
        ">
        
        
          <a class="nav-link p-0" href="/dubbo/"><h6>Dubbo</h6></a>
        
    </li>
    <li data-nav-id="/ffmpeg/" class="nav-item my-1
        ">
        
        
          <a class="nav-link p-0" href="/ffmpeg/"><h6>FFmpeg</h6></a>
        
    </li>
    <li data-nav-id="/git/" class="nav-item my-1
        ">
        
        
          <a class="nav-link p-0" href="/git/"><h6>Git</h6></a>
        
    </li>
    <li data-nav-id="/gitbook/" class="nav-item my-1
        ">
        
        
          <a class="nav-link p-0" href="/gitbook/"><h6>Gitbook</h6></a>
        
    </li>
    <li data-nav-id="/gitlab/" class="nav-item my-1 haschildren
        ">
        
        
          <a class="nav-link p-0" href="/gitlab/"><h6>Gitlab</h6></a>
        
        <ul class="list-unstyled ml-2">
        <li data-nav-id="/gitlab/runner/" class="nav-item my-1">
                
                
                  <a href="/gitlab/runner/" class="nav-link p-0">
                    Runner
                  </a>
                
        </li>
        </ul>
    </li>
    <li data-nav-id="/gradle/" class="nav-item my-1
        ">
        
        
          <a class="nav-link p-0" href="/gradle/"><h6>Gradle</h6></a>
        
    </li>
    <li data-nav-id="/java/" class="nav-item my-1
        ">
        
        
          <a class="nav-link p-0" href="/java/"><h6>Java</h6></a>
        
    </li>
    <li data-nav-id="/jenkins/" class="nav-item my-1
        ">
        
        
          <a class="nav-link p-0" href="/jenkins/"><h6>Jenkins</h6></a>
        
    </li>
    <li data-nav-id="/kubernetes/" class="nav-item my-1
        ">
        
        
          <a class="nav-link p-0" href="/kubernetes/"><h6>Kubernetes</h6></a>
        
    </li>
    <li data-nav-id="/mybatis/" class="nav-item my-1
        ">
        
        
          <a class="nav-link p-0" href="/mybatis/"><h6>Mybatis</h6></a>
        
    </li>
    <li data-nav-id="/mybatis-plus/" class="nav-item my-1
        ">
        
        
          <a class="nav-link p-0" href="/mybatis-plus/"><h6>Mybatis Plus</h6></a>
        
    </li>
    <li data-nav-id="/mysql/" class="nav-item my-1
        ">
        
        
          <a class="nav-link p-0" href="/mysql/"><h6>MySQL</h6></a>
        
    </li>
    <li data-nav-id="/nodejs/" class="nav-item my-1 haschildren
        ">
        
        
          <a class="nav-link p-0" href="/nodejs/"><h6>Node.js</h6></a>
        
        <ul class="list-unstyled ml-2">
        <li data-nav-id="/nodejs/npm/" class="nav-item my-1">
                
                
                  <a href="/nodejs/npm/" class="nav-link p-0">
                    NPM
                  </a>
                
        </li>
        </ul>
    </li>
    <li data-nav-id="/postgresql/" class="nav-item my-1
        ">
        
        
          <a class="nav-link p-0" href="/postgresql/"><h6>PostgreSQL</h6></a>
        
    </li>
    <li data-nav-id="/redis/" class="nav-item my-1
        ">
        
        
          <a class="nav-link p-0" href="/redis/"><h6>Redis</h6></a>
        
    </li>
    <li data-nav-id="/samba/" class="nav-item my-1
        ">
        
        
          <a class="nav-link p-0" href="/samba/"><h6>Samba</h6></a>
        
    </li>
    <li data-nav-id="/sql/" class="nav-item my-1
        ">
        
        
          <a class="nav-link p-0" href="/sql/"><h6>SQL</h6></a>
        
    </li>
    <li data-nav-id="/ue5/" class="nav-item my-1 haschildren
        ">
        
        
          <a class="nav-link p-0" href="/ue5/"><h6>UE5</h6></a>
        
        <ul class="list-unstyled ml-2">
        <li data-nav-id="/ue5/install/" class="nav-item my-1">
                
                
                  <a href="/ue5/install/" class="nav-link p-0">
                    install
                  </a>
                
        </li>
        <li data-nav-id="/ue5/uninstall/" class="nav-item my-1">
                
                
                  <a href="/ue5/uninstall/" class="nav-link p-0">
                    uninstall
                  </a>
                
        </li>
        <li data-nav-id="/ue5/qa/" class="nav-item my-1">
                
                
                  <a href="/ue5/qa/" class="nav-link p-0">
                    Q&amp;A
                  </a>
                
        </li>
        </ul>
    </li>
    <li data-nav-id="/unity/" class="nav-item my-1 haschildren
        ">
        
        
          <a class="nav-link p-0" href="/unity/"><h6>Unity</h6></a>
        
        <ul class="list-unstyled ml-2">
        <li data-nav-id="/unity/install/" class="nav-item my-1">
                
                
                  <a href="/unity/install/" class="nav-link p-0">
                    install
                  </a>
                
        </li>
        <li data-nav-id="/unity/scene/" class="nav-item my-1">
                
                
                  <a href="/unity/scene/" class="nav-link p-0">
                    scene
                  </a>
                
        </li>
        <li data-nav-id="/unity/inspector/" class="nav-item my-1">
                
                
                  <a href="/unity/inspector/" class="nav-link p-0">
                    inspector
                  </a>
                
        </li>
        <li data-nav-id="/unity/assets/" class="nav-item my-1">
                
                
                  <a href="/unity/assets/" class="nav-link p-0">
                    assets
                  </a>
                
        </li>
        <li data-nav-id="/unity/audio-source/" class="nav-item my-1">
                
                
                  <a href="/unity/audio-source/" class="nav-link p-0">
                    audio source
                  </a>
                
        </li>
        <li data-nav-id="/unity/camera/" class="nav-item my-1">
                
                
                  <a href="/unity/camera/" class="nav-link p-0">
                    camera
                  </a>
                
        </li>
        <li data-nav-id="/unity/script/" class="nav-item my-1">
                
                
                  <a href="/unity/script/" class="nav-link p-0">
                    script
                  </a>
                
        </li>
        <li data-nav-id="/unity/prefabs/" class="nav-item my-1">
                
                
                  <a href="/unity/prefabs/" class="nav-link p-0">
                    prefabs
                  </a>
                
        </li>
        <li data-nav-id="/unity/physics/" class="nav-item my-1">
                
                
                  <a href="/unity/physics/" class="nav-link p-0">
                    physics
                  </a>
                
        </li>
        <li data-nav-id="/unity/skybox/" class="nav-item my-1">
                
                
                  <a href="/unity/skybox/" class="nav-link p-0">
                    skybox
                  </a>
                
        </li>
        <li data-nav-id="/unity/particle-system/" class="nav-item my-1">
                
                
                  <a href="/unity/particle-system/" class="nav-link p-0">
                    particle system
                  </a>
                
        </li>
        <li data-nav-id="/unity/shortcut-keys/" class="nav-item my-1">
                
                
                  <a href="/unity/shortcut-keys/" class="nav-link p-0">
                    shortcut keys
                  </a>
                
        </li>
        <li data-nav-id="/unity/qa/" class="nav-item my-1">
                
                
                  <a href="/unity/qa/" class="nav-link p-0">
                    Q&amp;A
                  </a>
                
        </li>
        </ul>
    </li>
    <li data-nav-id="/unity-2d-beginner/" class="nav-item my-1 haschildren
        ">
        
        
          <a class="nav-link p-0" href="/unity-2d-beginner/"><h6>Unity 2D Beginner</h6></a>
        
        <ul class="list-unstyled ml-2">
        <li data-nav-id="/unity-2d-beginner/init-and-move/" class="nav-item my-1">
                
                
                  <a href="/unity-2d-beginner/init-and-move/" class="nav-link p-0">
                    Init &amp; Move
                  </a>
                
        </li>
        <li data-nav-id="/unity-2d-beginner/map/" class="nav-item my-1">
                
                
                  <a href="/unity-2d-beginner/map/" class="nav-link p-0">
                    Map
                  </a>
                
        </li>
        <li data-nav-id="/unity-2d-beginner/data/" class="nav-item my-1">
                
                
                  <a href="/unity-2d-beginner/data/" class="nav-link p-0">
                    Data
                  </a>
                
        </li>
        <li data-nav-id="/unity-2d-beginner/animate/" class="nav-item my-1">
                
                
                  <a href="/unity-2d-beginner/animate/" class="nav-link p-0">
                    Data
                  </a>
                
        </li>
        <li data-nav-id="/unity-2d-beginner/bullet/" class="nav-item my-1">
                
                
                  <a href="/unity-2d-beginner/bullet/" class="nav-link p-0">
                    Bullet
                  </a>
                
        </li>
        <li data-nav-id="/unity-2d-beginner/cinemachine/" class="nav-item my-1">
                
                
                  <a href="/unity-2d-beginner/cinemachine/" class="nav-link p-0">
                    Cinemachine
                  </a>
                
        </li>
        <li data-nav-id="/unity-2d-beginner/particle/" class="nav-item my-1">
                
                
                  <a href="/unity-2d-beginner/particle/" class="nav-link p-0">
                    Particle
                  </a>
                
        </li>
        <li data-nav-id="/unity-2d-beginner/ui/" class="nav-item my-1">
                
                
                  <a href="/unity-2d-beginner/ui/" class="nav-link p-0">
                    UI
                  </a>
                
        </li>
        <li data-nav-id="/unity-2d-beginner/npc/" class="nav-item my-1">
                
                
                  <a href="/unity-2d-beginner/npc/" class="nav-link p-0">
                    NPC
                  </a>
                
        </li>
        <li data-nav-id="/unity-2d-beginner/sound/" class="nav-item my-1">
                
                
                  <a href="/unity-2d-beginner/sound/" class="nav-link p-0">
                    Sound
                  </a>
                
        </li>
        </ul>
    </li>
    <li data-nav-id="/unity-2d-game-kit/" class="nav-item my-1 haschildren
        ">
        
        
          <a class="nav-link p-0" href="/unity-2d-game-kit/"><h6>Unity 2D Game Kit</h6></a>
        
        <ul class="list-unstyled ml-2">
        <li data-nav-id="/unity-2d-game-kit/record/" class="nav-item my-1">
                
                
                  <a href="/unity-2d-game-kit/record/" class="nav-link p-0">
                    record
                  </a>
                
        </li>
        </ul>
    </li>
    <li data-nav-id="/unity-3d-beginner/" class="nav-item my-1 haschildren
        ">
        
        
          <a class="nav-link p-0" href="/unity-3d-beginner/"><h6>Unity 3D Beginner</h6></a>
        
        <ul class="list-unstyled ml-2">
        <li data-nav-id="/unity-3d-beginner/init/" class="nav-item my-1">
                
                
                  <a href="/unity-3d-beginner/init/" class="nav-link p-0">
                    Init
                  </a>
                
        </li>
        <li data-nav-id="/unity-3d-beginner/level/" class="nav-item my-1">
                
                
                  <a href="/unity-3d-beginner/level/" class="nav-link p-0">
                    Level
                  </a>
                
        </li>
        <li data-nav-id="/unity-3d-beginner/nav/" class="nav-item my-1">
                
                
                  <a href="/unity-3d-beginner/nav/" class="nav-link p-0">
                    Nav
                  </a>
                
        </li>
        <li data-nav-id="/unity-3d-beginner/render-pipeline/" class="nav-item my-1">
                
                
                  <a href="/unity-3d-beginner/render-pipeline/" class="nav-link p-0">
                    Render Pipeline
                  </a>
                
        </li>
        <li data-nav-id="/unity-3d-beginner/postprocessing/" class="nav-item my-1">
                
                
                  <a href="/unity-3d-beginner/postprocessing/" class="nav-link p-0">
                    PostProcessing
                  </a>
                
        </li>
        <li data-nav-id="/unity-3d-beginner/ui/" class="nav-item my-1">
                
                
                  <a href="/unity-3d-beginner/ui/" class="nav-link p-0">
                    UI
                  </a>
                
        </li>
        <li data-nav-id="/unity-3d-beginner/enemy/" class="nav-item my-1">
                
                
                  <a href="/unity-3d-beginner/enemy/" class="nav-link p-0">
                    Enemy
                  </a>
                
        </li>
        <li data-nav-id="/unity-3d-beginner/sound/" class="nav-item my-1">
                
                
                  <a href="/unity-3d-beginner/sound/" class="nav-link p-0">
                    Sound
                  </a>
                
        </li>
        <li data-nav-id="/unity-3d-beginner/%E5%BB%BA%E6%A8%A1%E5%B7%A5%E5%85%B7/" class="nav-item my-1">
                
                
                  <a href="/unity-3d-beginner/%E5%BB%BA%E6%A8%A1%E5%B7%A5%E5%85%B7/" class="nav-link p-0">
                    建模工具
                  </a>
                
        </li>
        </ul>
    </li>
    <li data-nav-id="/unity-arpg/" class="nav-item my-1 haschildren
        ">
        
        
          <a class="nav-link p-0" href="/unity-arpg/"><h6>Unity ARPG</h6></a>
        
        <ul class="list-unstyled ml-2">
        <li data-nav-id="/unity-arpg/init/" class="nav-item my-1">
                
                
                  <a href="/unity-arpg/init/" class="nav-link p-0">
                    Init
                  </a>
                
        </li>
        <li data-nav-id="/unity-arpg/role-state-machine/" class="nav-item my-1">
                
                
                  <a href="/unity-arpg/role-state-machine/" class="nav-link p-0">
                    Role State Machine
                  </a>
                
        </li>
        <li data-nav-id="/unity-arpg/api-piece/" class="nav-item my-1">
                
                
                  <a href="/unity-arpg/api-piece/" class="nav-link p-0">
                    API Piece
                  </a>
                
        </li>
        </ul>
    </li>
    <li data-nav-id="/unity-creativecore-animation/" class="nav-item my-1 haschildren
        ">
        
        
          <a class="nav-link p-0" href="/unity-creativecore-animation/"><h6>Unity Creativecore Animation</h6></a>
        
        <ul class="list-unstyled ml-2">
        <li data-nav-id="/unity-creativecore-animation/door/" class="nav-item my-1">
                
                
                  <a href="/unity-creativecore-animation/door/" class="nav-link p-0">
                    Door
                  </a>
                
        </li>
        <li data-nav-id="/unity-creativecore-animation/init/" class="nav-item my-1">
                
                
                  <a href="/unity-creativecore-animation/init/" class="nav-link p-0">
                    Init
                  </a>
                
        </li>
        </ul>
    </li>
    <li data-nav-id="/unity-creativecore-lighting/" class="nav-item my-1 haschildren
        ">
        
        
          <a class="nav-link p-0" href="/unity-creativecore-lighting/"><h6>Unity Creativecore Lighting</h6></a>
        
        <ul class="list-unstyled ml-2">
        <li data-nav-id="/unity-creativecore-lighting/init/" class="nav-item my-1">
                
                
                  <a href="/unity-creativecore-lighting/init/" class="nav-link p-0">
                    Init
                  </a>
                
        </li>
        <li data-nav-id="/unity-creativecore-lighting/outdoor/" class="nav-item my-1">
                
                
                  <a href="/unity-creativecore-lighting/outdoor/" class="nav-link p-0">
                    Outdoor
                  </a>
                
        </li>
        </ul>
    </li>
    <li data-nav-id="/unity-creativecore-shader/" class="nav-item my-1 haschildren
        ">
        
        
          <a class="nav-link p-0" href="/unity-creativecore-shader/"><h6>Unity Creativecore Shader</h6></a>
        
        <ul class="list-unstyled ml-2">
        <li data-nav-id="/unity-creativecore-shader/init/" class="nav-item my-1">
                
                
                  <a href="/unity-creativecore-shader/init/" class="nav-link p-0">
                    Init
                  </a>
                
        </li>
        <li data-nav-id="/unity-creativecore-shader/glass/" class="nav-item my-1">
                
                
                  <a href="/unity-creativecore-shader/glass/" class="nav-link p-0">
                    Glass
                  </a>
                
        </li>
        <li data-nav-id="/unity-creativecore-shader/shader-graph/" class="nav-item my-1">
                
                
                  <a href="/unity-creativecore-shader/shader-graph/" class="nav-link p-0">
                    Shader-Graph
                  </a>
                
        </li>
        </ul>
    </li>
    <li data-nav-id="/unity-creator-kit-beginner-code/" class="nav-item my-1 haschildren
        ">
        
        
          <a class="nav-link p-0" href="/unity-creator-kit-beginner-code/"><h6>Unity Creator Kit Beginner Code</h6></a>
        
        <ul class="list-unstyled ml-2">
        <li data-nav-id="/unity-creator-kit-beginner-code/record/" class="nav-item my-1">
                
                
                  <a href="/unity-creator-kit-beginner-code/record/" class="nav-link p-0">
                    record
                  </a>
                
        </li>
        </ul>
    </li>
    <li data-nav-id="/unity-creator-kit-fps/" class="nav-item my-1 haschildren
        ">
        
        
          <a class="nav-link p-0" href="/unity-creator-kit-fps/"><h6>Unity Creator Kit FPS</h6></a>
        
        <ul class="list-unstyled ml-2">
        <li data-nav-id="/unity-creator-kit-fps/record/" class="nav-item my-1">
                
                
                  <a href="/unity-creator-kit-fps/record/" class="nav-link p-0">
                    record
                  </a>
                
        </li>
        </ul>
    </li>
    <li data-nav-id="/unity-mythirdperson/" class="nav-item my-1 haschildren
        ">
        
        
          <a class="nav-link p-0" href="/unity-mythirdperson/"><h6>Unity My Third Person</h6></a>
        
        <ul class="list-unstyled ml-2">
        <li data-nav-id="/unity-mythirdperson/init/" class="nav-item my-1">
                
                
                  <a href="/unity-mythirdperson/init/" class="nav-link p-0">
                    Init
                  </a>
                
        </li>
        </ul>
    </li>
    <li data-nav-id="/unity-playground/" class="nav-item my-1 haschildren
        ">
        
        
          <a class="nav-link p-0" href="/unity-playground/"><h6>Unity Playground</h6></a>
        
        <ul class="list-unstyled ml-2">
        <li data-nav-id="/unity-playground/record/" class="nav-item my-1">
                
                
                  <a href="/unity-playground/record/" class="nav-link p-0">
                    record
                  </a>
                
        </li>
        </ul>
    </li>
    <li data-nav-id="/unity-ui/" class="nav-item my-1 haschildren
        ">
        
        
          <a class="nav-link p-0" href="/unity-ui/"><h6>Unity UI</h6></a>
        
        <ul class="list-unstyled ml-2">
        <li data-nav-id="/unity-ui/init/" class="nav-item my-1">
                
                
                  <a href="/unity-ui/init/" class="nav-link p-0">
                    record
                  </a>
                
        </li>
        </ul>
    </li>
    <li data-nav-id="/unity-vfx/" class="nav-item my-1 haschildren
        ">
        
        
          <a class="nav-link p-0" href="/unity-vfx/"><h6>Unity VFX</h6></a>
        
        <ul class="list-unstyled ml-2">
        <li data-nav-id="/unity-vfx/init/" class="nav-item my-1">
                
                
                  <a href="/unity-vfx/init/" class="nav-link p-0">
                    record
                  </a>
                
        </li>
        <li data-nav-id="/unity-vfx/bullet/" class="nav-item my-1">
                
                
                  <a href="/unity-vfx/bullet/" class="nav-link p-0">
                    bullet
                  </a>
                
        </li>
        <li data-nav-id="/unity-vfx/rain/" class="nav-item my-1">
                
                
                  <a href="/unity-vfx/rain/" class="nav-link p-0">
                    rain
                  </a>
                
        </li>
        <li data-nav-id="/unity-vfx/rock-rain/" class="nav-item my-1">
                
                
                  <a href="/unity-vfx/rock-rain/" class="nav-link p-0">
                    Rock Rain
                  </a>
                
        </li>
        </ul>
    </li>
    <li data-nav-id="/vue/" class="nav-item my-1
        ">
        
        
          <a class="nav-link p-0" href="/vue/"><h6>Vue</h6></a>
        
    </li>
    <li data-nav-id="/web/" class="nav-item my-1
        ">
        
        
          <a class="nav-link p-0" href="/web/"><h6>Web</h6></a>
        
    </li>
        </ul>
    </div>
</nav>


</div>
                <div class="docs-toc large order-lg-2 order-md-0 order-xs-1 col-12 col-lg-2 col-xl-2 position-sticky border-left"><div class="docs-toc">
	<nav id="TableOfContents">
  <ul>
    <li><a href="#minidlna">minidlna</a></li>
  </ul>
</nav>
</div>
</div>
                <div class="main col-12 order-1 col-md-9 col-lg-10 col-xl-8 py-3">
                

<div class="d-flex flex-column">
    <h1 class="js-title">DLNA</h1>
    <div class="d-flex align-items-center">
        
    </div>
</div>

<hr>


<p>DLNA(DIGITAL LIVING NETWORK ALLIANCE) 解决个人PC ，消费电器，移动设备在内的无线网络和有线网络的互联互通，使得数字媒体和内容服务的无限制的共享和增长成为可能</p>
<p>即在电视机、功放、手机上，通过网络访问服务器上的媒体文件</p>
<h2 id="minidlna">minidlna</h2>
<p><a href="https://hub.docker.com/r/vladgh/minidlna">https://hub.docker.com/r/vladgh/minidlna</a></p>
<div class="highlight"><pre tabindex="0" style="color:#272822;background-color:#fafafa;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-bash" data-lang="bash"><span style="display:flex;"><span>docker run -dit <span style="color:#8045ff">\
</span></span></span><span style="display:flex;"><span><span style="color:#8045ff"></span>  --name<span style="color:#f92672">=</span>minidlna <span style="color:#8045ff">\
</span></span></span><span style="display:flex;"><span><span style="color:#8045ff"></span>  --restart<span style="color:#f92672">=</span>always <span style="color:#8045ff">\
</span></span></span><span style="display:flex;"><span><span style="color:#8045ff"></span>  --net<span style="color:#f92672">=</span>host <span style="color:#8045ff">\
</span></span></span><span style="display:flex;"><span><span style="color:#8045ff"></span>  -v /root/share/media:/media <span style="color:#8045ff">\
</span></span></span><span style="display:flex;"><span><span style="color:#8045ff"></span>  -e <span style="color:#111">MINIDLNA_MEDIA_DIR</span><span style="color:#f92672">=</span>/media <span style="color:#8045ff">\
</span></span></span><span style="display:flex;"><span><span style="color:#8045ff"></span>  -e <span style="color:#111">MINIDLNA_FRIENDLY_NAME</span><span style="color:#f92672">=</span>MyMini <span style="color:#8045ff">\
</span></span></span><span style="display:flex;"><span><span style="color:#8045ff"></span>  vladgh/minidlna
</span></span></code></pre></div><div class="highlight"><pre tabindex="0" style="color:#272822;background-color:#fafafa;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-bash" data-lang="bash"><span style="display:flex;"><span>docker run -dit <span style="color:#8045ff">\
</span></span></span><span style="display:flex;"><span><span style="color:#8045ff"></span>  --name<span style="color:#f92672">=</span>minidlna <span style="color:#8045ff">\
</span></span></span><span style="display:flex;"><span><span style="color:#8045ff"></span>  --restart<span style="color:#f92672">=</span>always <span style="color:#8045ff">\
</span></span></span><span style="display:flex;"><span><span style="color:#8045ff"></span>  --net<span style="color:#f92672">=</span>host <span style="color:#8045ff">\
</span></span></span><span style="display:flex;"><span><span style="color:#8045ff"></span>  -v /root/share/audio:/media/audio <span style="color:#8045ff">\
</span></span></span><span style="display:flex;"><span><span style="color:#8045ff"></span>  -v /root/share/video:/media/video <span style="color:#8045ff">\
</span></span></span><span style="display:flex;"><span><span style="color:#8045ff"></span>  -e <span style="color:#111">MINIDLNA_MEDIA_DIR_1</span><span style="color:#f92672">=</span>A,/media/audio <span style="color:#8045ff">\
</span></span></span><span style="display:flex;"><span><span style="color:#8045ff"></span>  -e <span style="color:#111">MINIDLNA_MEDIA_DIR_2</span><span style="color:#f92672">=</span>V,/media/video <span style="color:#8045ff">\
</span></span></span><span style="display:flex;"><span><span style="color:#8045ff"></span>  -e <span style="color:#111">MINIDLNA_FRIENDLY_NAME</span><span style="color:#f92672">=</span>MyMini <span style="color:#8045ff">\
</span></span></span><span style="display:flex;"><span><span style="color:#8045ff"></span>  vladgh/minidlna
</span></span></code></pre></div><p>若需更多配置则参看
<a href="https://manpages.ubuntu.com/manpages/kinetic/en/man5/minidlna.conf.5.html">https://manpages.ubuntu.com/manpages/kinetic/en/man5/minidlna.conf.5.html</a></p>
<p>下文是网页摘抄</p>
<p><em>name</em></p>
<p>minidlna.conf — MiniDLNA server configuration file</p>
<p><em>SYNOPSIS</em></p>
<p>/etc/minidlna.conf</p>
<p><em>DESCRIPTION</em></p>
<div class="highlight"><pre tabindex="0" style="color:#272822;background-color:#fafafa;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-txt" data-lang="txt"><span style="display:flex;"><span>minidlnad(1) reads configuration options from the system-wide configuration file
</span></span><span style="display:flex;"><span>/etc/minidlna.conf, or the file specified with -f on the command line. The file contains
</span></span><span style="display:flex;"><span>keyword-argument pairs, one per line.  Lines starting with ‘#’ and empty lines are
</span></span><span style="display:flex;"><span>interpreted as comments.
</span></span><span style="display:flex;"><span>
</span></span><span style="display:flex;"><span>The possible keywords and their meanings are as follows:
</span></span><span style="display:flex;"><span>
</span></span><span style="display:flex;"><span>album_art_names
</span></span><span style="display:flex;"><span>        List of filenames to check for when searching for album art cache, separated by
</span></span><span style="display:flex;"><span>        forward slashes (‘/’).  This option can be specified more than once.
</span></span><span style="display:flex;"><span>
</span></span><span style="display:flex;"><span>db_dir  Path to the directory minidlnad should use to store its database and album art
</span></span><span style="display:flex;"><span>        cache. Uses /var/lib/minidlna by default.
</span></span><span style="display:flex;"><span>
</span></span><span style="display:flex;"><span>enable_tivo
</span></span><span style="display:flex;"><span>        Support for streaming .jpg and .mp3 files to a TiVo supporting HMO. Set to “yes” to
</span></span><span style="display:flex;"><span>        enable support for streaming JPEG and mp3 files to a TiVo supporting HMO.  Set to
</span></span><span style="display:flex;"><span>        “no” (default) otherwise.
</span></span><span style="display:flex;"><span>
</span></span><span style="display:flex;"><span>friendly_name
</span></span><span style="display:flex;"><span>        Customize the name that the minidlnad server sends to clients. Defaults to
</span></span><span style="display:flex;"><span>        “hostname: username”.
</span></span><span style="display:flex;"><span>
</span></span><span style="display:flex;"><span>force_sort_criteria
</span></span><span style="display:flex;"><span>        Always set SortCriteria to this value, regardless of the SortCriteria passed by the
</span></span><span style="display:flex;"><span>        clien t. ( E.g. force_sort_criteria=+upnp:class,+upnp:originalTrackNumber,+dc:title
</span></span><span style="display:flex;"><span>        )
</span></span><span style="display:flex;"><span>
</span></span><span style="display:flex;"><span>inotify
</span></span><span style="display:flex;"><span>        Set to “yes” to enable inotify monitoring of the files under media_dir to
</span></span><span style="display:flex;"><span>        automatically discover new files. Set to “no” to disable inotify.
</span></span><span style="display:flex;"><span>
</span></span><span style="display:flex;"><span>network_interface
</span></span><span style="display:flex;"><span>        Comma separated list of network interfaces to bind to. Default is empty which means
</span></span><span style="display:flex;"><span>        bind to all.
</span></span><span style="display:flex;"><span>
</span></span><span style="display:flex;"><span>log_dir
</span></span><span style="display:flex;"><span>        Path to the directory where the log file should be stored. Defaults to
</span></span><span style="display:flex;"><span>        /var/log/minidlna.
</span></span><span style="display:flex;"><span>
</span></span><span style="display:flex;"><span>log_level
</span></span><span style="display:flex;"><span>        Defines the type of messages that should be logged, and down to which level of
</span></span><span style="display:flex;"><span>        importance they should be considered.
</span></span><span style="display:flex;"><span>
</span></span><span style="display:flex;"><span>        The possible types are “artwork”, “database”, “general”, “http”, “inotify”,
</span></span><span style="display:flex;"><span>        “metadata”, “scanner”, “ssdp” and “tivo”.
</span></span><span style="display:flex;"><span>
</span></span><span style="display:flex;"><span>        The levels are “off”, “fatal”, “error”, “warn”, “info” and “debug”, listed here in
</span></span><span style="display:flex;"><span>        order of decreasing importance.  “off” turns off logging messages entirely, “fatal”
</span></span><span style="display:flex;"><span>        logs the most critical messages only, and so on down to “debug” that logs every
</span></span><span style="display:flex;"><span>        single messages.
</span></span><span style="display:flex;"><span>
</span></span><span style="display:flex;"><span>        The types are comma-separated, followed by an equal sign (‘=’), followed by a level
</span></span><span style="display:flex;"><span>        that applies to the preceding types. This can be repeated, separating each of these
</span></span><span style="display:flex;"><span>        constructs with a comma.
</span></span><span style="display:flex;"><span>
</span></span><span style="display:flex;"><span>        Defaults to “general,artwork,database,inotify,scanner,metadata,http,ssdp,tivo=warn”
</span></span><span style="display:flex;"><span>        which logs every type of message at the “warn” level.
</span></span><span style="display:flex;"><span>
</span></span><span style="display:flex;"><span>max_connections
</span></span><span style="display:flex;"><span>        Specify maximum number of simultaneous connections. Note: many clients open several
</span></span><span style="display:flex;"><span>        simultaneous connections while streaming.
</span></span><span style="display:flex;"><span>
</span></span><span style="display:flex;"><span>media_dir
</span></span><span style="display:flex;"><span>        Path to the directory containing the media files the minidlnad server should share.
</span></span><span style="display:flex;"><span>        Use this option several times if you have more than one directory to share. To
</span></span><span style="display:flex;"><span>        restrict a path to one specific media type, you can use the following syntax: the
</span></span><span style="display:flex;"><span>        letter ‘A’, ‘V’ or ‘P’, followed by a comma (‘,’) followed by the path. The meaning
</span></span><span style="display:flex;"><span>        of the first letter is as follows:
</span></span><span style="display:flex;"><span>            •   ‘A’ for audio files;
</span></span><span style="display:flex;"><span>            •   ‘V’ for video files;
</span></span><span style="display:flex;"><span>            •   ‘P’ for image files.
</span></span><span style="display:flex;"><span>
</span></span><span style="display:flex;"><span>        For example, if you want to include only video files located in
</span></span><span style="display:flex;"><span>        /srv/multimedia/videos directory, and only music in /srv/multimedia/music, then you
</span></span><span style="display:flex;"><span>        would use
</span></span><span style="display:flex;"><span>            media_dir=V,/srv/multimedia/videos
</span></span><span style="display:flex;"><span>            media_dir=A,/srv/multimedia/music
</span></span><span style="display:flex;"><span>
</span></span><span style="display:flex;"><span>        Another example would be
</span></span><span style="display:flex;"><span>            media_dir=V,/srv/multimedia/videos
</span></span><span style="display:flex;"><span>            media_dir=V,/srv/multimedia/movies
</span></span><span style="display:flex;"><span>            media_dir=A,/srv/multimedia/music
</span></span><span style="display:flex;"><span>
</span></span><span style="display:flex;"><span>        Or, if you did not care what type it finds, then you could use
</span></span><span style="display:flex;"><span>            media_dir=/srv/multimedia/videos
</span></span><span style="display:flex;"><span>            media_dir=/srv/multimedia/movies
</span></span><span style="display:flex;"><span>            media_dir=/srv/multimedia/music
</span></span><span style="display:flex;"><span>
</span></span><span style="display:flex;"><span>        You can mix it up, find anything in music, but only Videos, in videos and movies
</span></span><span style="display:flex;"><span>            media_dir=V,/srv/multimedia/videos
</span></span><span style="display:flex;"><span>            media_dir=V,/srv/multimedia/movies
</span></span><span style="display:flex;"><span>            media_dir=/srv/multimedia/music
</span></span><span style="display:flex;"><span>
</span></span><span style="display:flex;"><span>merge_media_dirs
</span></span><span style="display:flex;"><span>        Merge all media_dir base contents into the root container. The default value is no.
</span></span><span style="display:flex;"><span>
</span></span><span style="display:flex;"><span>minissdpdsocket
</span></span><span style="display:flex;"><span>        Path to the MiniSSDPd socket, if you want to use minidlnad together with MiniSSDPd.
</span></span><span style="display:flex;"><span>        Defaults to /run/minissdpd.sock.
</span></span><span style="display:flex;"><span>
</span></span><span style="display:flex;"><span>model_name
</span></span><span style="display:flex;"><span>        Set the model name reported to clients.  Defaults to “Windows Media Connect
</span></span><span style="display:flex;"><span>        compatible (MiniDLNA)”.
</span></span><span style="display:flex;"><span>
</span></span><span style="display:flex;"><span>model_number
</span></span><span style="display:flex;"><span>        Set the model number reported to clients. Defaults to the version number of
</span></span><span style="display:flex;"><span>        minidlnad.
</span></span><span style="display:flex;"><span>
</span></span><span style="display:flex;"><span>network_interface
</span></span><span style="display:flex;"><span>        Network interface(s) to bind to (e.g. eth0), comma delimited. This option can be
</span></span><span style="display:flex;"><span>        specified more than once. If unspecified or empty, minidlnad binds to all the valid
</span></span><span style="display:flex;"><span>        network interfaces (except loopback).
</span></span><span style="display:flex;"><span>
</span></span><span style="display:flex;"><span>notify_interval
</span></span><span style="display:flex;"><span>        Set the notify interval, in seconds. The default is 895 seconds.
</span></span><span style="display:flex;"><span>
</span></span><span style="display:flex;"><span>port    Port number for HTTP traffic (descriptions, SOAP, media transfe).  This option is
</span></span><span style="display:flex;"><span>        mandatory, unless the port number is specified on the command-line using -p (see
</span></span><span style="display:flex;"><span>        minidlnad(1)).
</span></span><span style="display:flex;"><span>
</span></span><span style="display:flex;"><span>presentation_url
</span></span><span style="display:flex;"><span>        Define the URL presented to clients (e.g. “http://example.com:80”).  The default is
</span></span><span style="display:flex;"><span>        ‘/’.
</span></span><span style="display:flex;"><span>
</span></span><span style="display:flex;"><span>root_container
</span></span><span style="display:flex;"><span>        Use a different container as the root of the tree exposed to clients. The possible
</span></span><span style="display:flex;"><span>        values
</span></span><span style="display:flex;"><span>            •   ‘.’ to use the standard container (this is the default);
</span></span><span style="display:flex;"><span>            •   ‘B’ to use the “Browse Directory” container;
</span></span><span style="display:flex;"><span>            •   ‘M’ to use the “Music” container;
</span></span><span style="display:flex;"><span>            •   ‘V’ to use the “Video” container;
</span></span><span style="display:flex;"><span>            •   ‘P’ to use the “Pictures” container.
</span></span><span style="display:flex;"><span>        If you specify ‘B’ and the client device is audio only, then “Music/Folders” will be
</span></span><span style="display:flex;"><span>        used as the root container.
</span></span><span style="display:flex;"><span>
</span></span><span style="display:flex;"><span>serial  Set the serial number reported to clients. Defaults to MAC address od network
</span></span><span style="display:flex;"><span>        interface.
</span></span><span style="display:flex;"><span>
</span></span><span style="display:flex;"><span>strict_dlna
</span></span><span style="display:flex;"><span>        Set to “yes” to strictly adhere to DLNA standards. This will allow server-side
</span></span><span style="display:flex;"><span>        downscaling of very large JPEG images, which may hurt JPEG serving performance on
</span></span><span style="display:flex;"><span>        (at least) Sony DLNA products. Set to “no” otherwise.
</span></span><span style="display:flex;"><span>
</span></span><span style="display:flex;"><span>tivo_discovery
</span></span><span style="display:flex;"><span>        Which method to use for registering in TiVo. By default “bonjour” is used. You can
</span></span><span style="display:flex;"><span>        switch to legacy “beacon” method.
</span></span><span style="display:flex;"><span>
</span></span><span style="display:flex;"><span>user    Specify the user name or UID to run as. Beware that if you are using an init system
</span></span><span style="display:flex;"><span>        to start minidlnad, then this option has no effect and you should override default
</span></span><span style="display:flex;"><span>        user in minidlna.service for systemd or set USER in /etc/default/minidlna for sysV
</span></span><span style="display:flex;"><span>        init.
</span></span><span style="display:flex;"><span>
</span></span><span style="display:flex;"><span>uuid    Specify device&#39;s UPnP UUID minidlna should use. By default MAC address is used to
</span></span><span style="display:flex;"><span>        build uniq UUID.
</span></span><span style="display:flex;"><span>
</span></span><span style="display:flex;"><span>wide_links
</span></span><span style="display:flex;"><span>        Set to “yes” to allow symlinks that point outside user-defined media_dir. By
</span></span><span style="display:flex;"><span>        default, wide symlinks are not followed.
</span></span></code></pre></div><p><em>FILES</em></p>
<div class="highlight"><pre tabindex="0" style="color:#272822;background-color:#fafafa;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-txt" data-lang="txt"><span style="display:flex;"><span>/etc/minidlna.conf
</span></span><span style="display:flex;"><span>        System-wide default configuration file.
</span></span></code></pre></div><p>文末有个 minidlnad — lightweight DLNA/UPnP-AV server 应该是同类软件</p>
<p>启动后，向 <code>媒体目录</code> 下存放音、视频文件，就可以尝试用电视机、功放、手机等支持 DLNA 的设备查找、搜索服务器，进行播放</p>


    


                    
                    <div class="row"></div> 

                </div>

            </div> 

        </div> 
<script src="/lib/jquery.min.js"></script> 
<script src="/lib/popper.min.js"></script> 

<script src="/js/bootstrap.min.js"></script> 


<script type="text/javascript" src="/plugins/lunr.min.js"></script>
<script type="text/javascript" src="/plugins/auto-complete.js"></script>
<link href="/plugins/auto-complete.css" rel="stylesheet">
<script type="text/javascript">
  
      var baseurl = "\/";
  
</script>
<script type="text/javascript" src="/plugins/search.js"></script>

<script type="text/javascript" src="/plugins/favorites.js"></script>


<script type="text/javascript" src="/plugins/clipboard.js"></script>
<script>
  new ClipboardJS('.btn');
</script>
</body>
</html>
